package com.kehutong.payfees.admin;

//import com.kehutong.common.errcode.Result;
//import com.kehutong.common.util.Token;
//import com.kehutong.payfees.entity.ChargeLawyerMaterial;
//import org.coraframework.authz.HasPermission;
//import org.coraframework.inject.Inject;
//import org.coraframework.json.JSONObject;
//import org.coraframework.mvc.MvcAction;
//import org.coraframework.mvc.http.ReqMapping;
//
//@MvcAction
//@ReqMapping("/admin/charge/lawyer/material")
//public class ChargeLawyerMaterialController {
//
//    @Inject
//    private ChargeLawyerMaterialServiceImpl chargeLawyerMaterialService;
//
//    @HasPermission("charge:mediation:view")
//    @ReqMapping("/list")
//    public Object getChargeLawyerMaterialList(JSONObject jsonObject) {
//        return Result.success(chargeLawyerMaterialService.getChargeLawyerMaterialList(jsonObject));
//    }
//
//    @HasPermission("charge:mediation:view")
//    @ReqMapping("/save")
//    public Object saveChargeLawyerMaterial(ChargeLawyerMaterial chargeLawyerMaterial) {
//        chargeLawyerMaterialService.saveChargeLawyerMaterial(chargeLawyerMaterial);
//        return Result.success();
//    }
//
//    @HasPermission("charge:mediation:view")
//    @ReqMapping("/get/userId")
//    public Object getContactUserId(String id) {
//        return Result.success(chargeLawyerMaterialService.getContactUserId(id));
//    }
//
//    @HasPermission("charge:mediation:view")
//    @ReqMapping("/send")
//    public Object sendChargeLawyerMaterial(Token token, JSONObject jsonObject) throws Exception {
//        return chargeLawyerMaterialService.sendChargeLawyerMaterial(token, jsonObject);
//    }
//}
